package gulimall.service;

import gulimall.entity.AttrAttrgroupRelation;
import gulimall.entity.AttrGroup;
import com.baomidou.mybatisplus.extension.service.IService;
import gulimall.utils.PageUtils;
import gulimall.vo.AttrGroupWithAttrVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 属性分组 服务类
 * </p>
 *
 * @author HLF
 * @since 2022-04-23
 */
public interface IAttrGroupService extends IService<AttrGroup> {
    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catelogId);

    void deleteRelation(List<AttrAttrgroupRelation> attrAttrgroupRelation);

    List<AttrGroupWithAttrVo> getGroupWithAttrByCatelogId(Long catelogId);
}
